import request from '@/utils/request'

// 查询数据稽核列表
export function listChecksegment(query,rou) {
  return request({
    url: '/ipmanagement/checksegment/list/'+rou,
    method: 'get',
    params: query
  })
}

// 查询数据稽核详细
export function getChecksegment(id) {
  return request({
    url: '/ipmanagement/checksegment/' + id,
    method: 'get'
  })
}

// 新增数据稽核
export function addChecksegment(data) {
  return request({
    url: '/ipmanagement/checksegment',
    method: 'post',
    data: data
  })
}

// 修改数据稽核
export function updateChecksegment(data) {
  return request({
    url: '/ipmanagement/checksegment',
    method: 'put',
    data: data
  })
}

// 删除数据稽核
export function delChecksegment(id) {
  return request({
    url: '/ipmanagement/checksegment/' + id,
    method: 'delete'
  })
}
